/**
 * Created by youngpan on 2017/1/7.
 */

define(['app', 'angular', 'angularAMD'], function (app, angular, angularAMD) {
    app.config(function ($routeProvider, $locationProvider) {
        $routeProvider
            .when('/home/inlanddiscount', angularAMD.route({
                templateUrl: 'tpls/discount.html',  //template例子。
                controller: 'discountCtrl',    //控制器名字
                controllerUrl: 'module/daisymodule/controller'   //控制器链接
            }))
    });

})
